package com.hotel.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;
//房间实体类
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("room")
public class Room {
    private Integer roomId;
    private Integer parentId;
    private String roomType;
    private Double roomPrice;
    private String roomStatus;
    @TableField(exist = false)
    private List<Room> children;

}
